import { createRouter, createWebHistory} from 'vue-router'
import Main from '../components/body/main.vue'
import List from '../components/body/list.vue'
const router = createRouter({
    history: createWebHistory(),
    routes: [
      {
        path:'/',
        name:'home',
        component:Main
      },
      {
        path: '/main',
        name: 'main',
        component: Main,
      },
      {
      path: '/list',
      name: 'list',
      component: List,
      },
        ]
  })
  export default router
